package com.example.demo.TextTest;

/**
 * @author LHH
 * @date 2024/11/20
 */
public class booleanText {


    public static void main(String[] args) {
        boolean farmTypeStatus = true;
        boolean blockStatus = false;

        if (!farmTypeStatus && blockStatus) {
            System.out.println("false:true");
        } else if (farmTypeStatus && !blockStatus) {
            System.out.println("true:false");
        } else if (!farmTypeStatus && !blockStatus) {
            System.out.println("false:false");
        } else {
            System.out.println("true:true");
        }
    }

}
